package com.cloud.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import com.cloud.model.Token;
import org.springframework.stereotype.Repository;

/**
 * Created by gang on 2016/8/2.
 */
@Repository
public interface TokenDao extends JpaRepository<Token, String> {
    Token findByTokenKey(String tokenKey);
}
